
/*
Fourth of July

 I've seen various visual plug-ins devoted entirely to making 
fireworks to the music, and the effect can be very dramatic. Then I saw the "Fireworks" 
config file for WhiteCap, and deemed it ugly and lame. Therefore, I set out to create a 
WhiteCap config which carried the visual punch of some of the other fireworks I've seen. 
Unfortunately, due to limitations in WhiteCap itself, I couldn't make it as dramatic as 
I'd like, but it's still very cool, and a HUGE improvement on the "Fireworks" config.

-- Michael "Belar" Powell
*/

Vers=40,


Durn="1",

CamX="0",
CamY="100",
CamZ="0",

CmLX="0",
CmLY="0",
CmLZ="0",

CUpX="0",
CUpY="0",
CUpZ="1",

widt="640",
heig="480",

Scal="500",
ScSz="1",

Pers="300",

ConL="0",
ConB="0",

C0="seed(st)",
C1="rnd(BASS * 200) - BASS * 100",
C2="clip(BASS * 2 - 1) * (1 - dt)",

C3="rnd(3)",
C4="trnc(clip(C3-1))",
C5="trnc(clip(2-C3))",
C6="1-(C4+C5)",



R="C2 * (C4 + C5)",
G="C2 * C4",
B="C2 * (C4 + C6)",

X="rnd(BASS) * dt * 40 * cos( s * 6.283185 ) + C1",
Y="rnd(BASS) * dt * 40 * sin( s * 6.283185 )",
Z="BASS * 100 - 200 - (sqr(dt * 8 - 1) + 1) * rnd(4)",
